package com.itheima.string;

import java.util.Scanner;

public class Demo3 {
    public static void main(String[] args) {
        //用Scanner录入字符串
        Scanner sc=new Scanner(System.in);
        String s= sc.nextLine();
        //将字符串拆分为字符数组
        char[] chars=s.toCharArray();
        //遍历字符数组
        for (int i = 0; i <chars.length ; i++) {
            System.out.println(chars[i]);
        }
    }
}
